package com.alex.designPattern.builder;

public class Client {

	public static void main(String[] args) {
		
		Builder builder = new BSSoftwareBuilder();
//		Builder builder = new CSSoftwareBuilder();
		
		Director director = new Director();
		director.setBuilder(builder);
		
		director.buildSoftware();
		
		Software software = builder.getResult();
		
		System.out.println(software.getName());
	}

}
